package com.spring.utils;

import java.lang.reflect.InvocationTargetException;
import java.lang.reflect.Method;

public class TestReflect {
    public static void main(String[] args) throws ClassNotFoundException, NoSuchMethodException, InvocationTargetException, IllegalAccessException, InstantiationException {
        person person = (person) Class.forName("com.spring.utils.person").newInstance();
        person.show();
    }
}
